import Vue from 'vue'
import App from './App.vue'
import './element/element'
import './static/css/global.css'
import VueCookie from 'vue-cookie'
import router from "./router/router";
import BaiduMap from "vue-baidu-map";
// import axios from "axios";
import httpRequest from './utils/requestHttp'

Vue.prototype.$http = httpRequest;

//Vue.prototype.$http = axios;
// axios.defaults.baseURL = 'http://192.168.43.139:10324';
// axios.defaults.timeout = 100000;

Vue.config.productionTip = false;
Vue.use(VueCookie);
Vue.use(BaiduMap, {
  ak: '9U6NO8Iyx4yznW4u7ajlE1ByOFxNVLzs'
});

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
